import math
from random import random


# 生成6位数随机验证码并进行返回
def randomNumber():
    code = ''
    for a in range(0, 6):
        code += str(math.floor(random() * 10))
    return code
